-- GENERATED SPELL FOR [Boulderfist Hunter] --


function spell0_18352(pUnit, Event) --@Spear Throw,n/a--
pUnit:FullCastSpellOnTarget(32248,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18352', 568, 1)
end

function Sorts_18352(pUnit, Event)
local choix_sorts_18352 = math.random(0, 0)
if choix_sorts_18352 == 0 then
pUnit:RegisterEvent('spell0_18352', 1, 1)
end
end

function mob18352_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18352', math.random(1500, 3000), 1)
end

function mob18352_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18352_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18352_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18352, 1, 'mob18352_Action')
RegisterUnitEvent(18352, 2, 'mob18352_Leave')
RegisterUnitEvent(18352, 3, 'mob18352_Kill')
RegisterUnitEvent(18352, 4, 'mob18352_Die')
